package com.jingfu.mapper;

import com.jingfu.Dao.UserDao;
import com.jingfu.dto.UserDTO;
import com.jingfu.dto.UserDetail;
import com.jingfu.pojo.SysUser;

import java.util.List;

public interface SysUserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(String userId);

    SysUser selectByUserName(String userName);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    UserDetail queryUserDetailByUsername(String userName);

    List<UserDTO> queryUserList(UserDTO userDTO);

    UserDTO queryUserDTOById(String userId);

    int updateUserDeptByPrimaryKey(SysUser sysUser);
}
